﻿//----------------------------------------------------------------------
//名称： ABT v3.2 config
//开发：scorpio
//日期： 2012/09/19
//说明：用于配置工具条（中文版）
//----------------------------------------------------------------------

//------------------------------------------------------------
//***********************工具条配置部分***********************
//------------------------------------------------------------
function declareConfig(){
	ABTConfig = new Object();
	
	//工具条主开关--------------------------------------
	ABTConfig.mainSwitch = true;
	
	//主容器名称----------------------------------------
	ABTConfig.container = "container";
	
	//跳转节点类名称------------------------------------
	ABTConfig.skipClassName = "skipelement";
	
	//cookie功能开关------------------------------------
	ABTConfig.cookieSwitch = true;
	//cookie保存时间------------------------------------
	ABTConfig.cookieTime = 30;
	
	//--------------------------------------------------
	//功能部分设置***************************************
	//--------------------------------------------------
	//区域跳转------------------------------------------
	ABTConfig.areaSkip={};
	ABTConfig.areaSkip.functionSwitch = true;
	ABTConfig.areaSkip.delimit = new Array(
		//-----------------------------------
		"skip:已跳转到页面头部内容区域:Alt+Shift+1",
		"leftsidebar:已跳转到页面左栏内容区域:Alt+Shift+2",
		"content:已跳转到页面中间内容区域:Alt+Shift+3",
		"rightsidebar:已跳转到页面右栏内容区域:Alt+Shift+4",
		"footer:已跳转到页面底部内容区域:Alt+Shift+5",
		//-----------------------------------
		"main:已跳转到页面主要内容区域:Alt+3",
		"main:已跳转到页面主要内容区域:Ctrl+3",
		"main:已跳转到页面主要内容区域:Alt+C",
		"main:已跳转到页面主要内容区域:Alt+Ctrl+C",
		//-----------------------------------
		"wzaHelp:已定位到无障碍帮助:Alt+1",
		"wzaHelp:已定位到无障碍帮助:Ctrl+1",
		//-----------------------------------
		"siteMap:已定位到无障碍网站导航:Alt+2",
		"siteMap:已定位到无障碍网站导航:Ctrl+2",
		//-----------------------------------
		"linkWebNav:已跳转到网站导航区域:Alt+4",
		"qzss:已跳转到页面搜索区域:Alt+5",
		"skip:该键位未启用已为您跳转到头部内容区域:Alt+6",				
		"skip:该键位未启用已为您跳转到头部内容区域:Alt+7",				
		"skip:该键位未启用已为您跳转到头部内容区域:Alt+8",				
		"skip:该键位未启用已为您跳转到头部内容区域:Alt+9",				
		"skip:该键位未启用已为您跳转到头部内容区域:Alt+0",
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+4",
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+5",	
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+6",				
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+7",				
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+8",				
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+9",				
		"skip:该键位未启用已为您跳转到头部内容区域:ctrl+0"
	);
	//自定义跳转----------------------------------------
	ABTConfig.customSkip={};
	ABTConfig.customSkip.functionSwitch = true;
	ABTConfig.customSkip.nextKeyCode = new Array(
		"Ctrl+z",
		"Alt+z"
	);
	ABTConfig.customSkip.previousKeyCode = new Array(
		"ctrl+shift+z",
		"alt+shift+z"
	);
	ABTConfig.customSkip.delimit = new Array(
		"tagName:H1:网站标志",
		"tagName:H2:一级栏目分组",
		"tagName:H3:二级栏目分组",
		"tagName:H4:三级栏目分组",
		"tagName:H5:四级栏目分组",
		//"tagName:DT:栏目分组",
		"tagId:skip:头部栏目分组"
	);

    //语音指读模式----------------------------------------
	ABTConfig.overSoundMode = {};
	ABTConfig.overSoundMode.cookieSwitch = true;
	ABTConfig.overSoundMode.functionSwitch = true;
	ABTConfig.overSoundMode.onceZoom = 0.2;
	ABTConfig.overSoundMode.Max = 2;
	ABTConfig.overSoundMode.Min = 1;
	//纯文本模式----------------------------------------
	ABTConfig.textMode={};
	ABTConfig.textMode.cookieSwitch = true;
	ABTConfig.textMode.functionSwitch = true;
	ABTConfig.textMode.KeyCode = new Array("alt+shift+j");
	ABTConfig.textMode.styleFileURL = "/无障碍辅助浏览工具条（第三版）/styles/textMode.css";
	//页面缩放------------------------------------------
	ABTConfig.pageZoom={};
	ABTConfig.pageZoom.cookieSwitch = true;
	ABTConfig.pageZoom.functionSwitch = true;
	ABTConfig.pageZoom.onceZoom = 0.2;
	ABTConfig.pageZoom.Max = 1.6;
	ABTConfig.pageZoom.Min = 1;
	//字体缩放------------------------------------------
	ABTConfig.fontZoom={};
	ABTConfig.fontZoom.cookieSwitch = true;
	ABTConfig.fontZoom.functionSwitch = true;
	ABTConfig.fontZoom.onceZoom = 8;
	ABTConfig.fontZoom.Max = 99;
	ABTConfig.fontZoom.Min = 14;
	//高对比度------------------------------------------
	ABTConfig.hightContrast={};
	ABTConfig.hightContrast.cookieSwtich = true;
	ABTConfig.hightContrast.functionSwitch = true;
	ABTConfig.hightContrast.delimit = new Array(
		"#f5fc00|#0000fe|蓝黄对比度",
		"#0000fe|#f5fc00|黄蓝对比度",
		"#fff|#000|黑白对比度",
		"#000|#FFF|白黑对比度"
	);
	//辅助线--------------------------------------------
	ABTConfig.guides={};
	ABTConfig.guides.cookieSwitch = true;
	ABTConfig.guides.functionSwitch = true;
	ABTConfig.guides.skew = 5;
	//文字提示------------------------------------------
	ABTConfig.textTips={};
	ABTConfig.textTips.cookieSwitch = true;
	ABTConfig.textTips.functionSwitch = true;
	ABTConfig.textTips.pinyinSwitch = true;
	ABTConfig.textTips.pinyinFileURL = "script/ku.js";
	//帮助----------------------------------------------
	ABTConfig.help={};
	ABTConfig.help.functionSwitch = true;
	ABTConfig.help.dataFileURL = "http://192.168.170.140:8700/toolbarhelp/helpContent.html";
	//重置----------------------------------------------
	ABTConfig.resetToolbar={};
	ABTConfig.resetToolbar.functionSwitch = true;
	//开关----------------------------------------------
	ABTConfig.show={};
	ABTConfig.show.cookieSwtich = true;
	ABTConfig.show.functionSwitch = true;
	ABTConfig.show.keyCode = new Array(
		"alt+j"
	);
	
	//--------------------------------------------------
	//工具条样式设置**************************************
	//--------------------------------------------------
	ABTConfig.defaultSkin = 0;
	ABTConfig.skin = new Array();
	ABTConfig.skin[0] = {
		name:"静安定制",
		bodyPadding:30,
		folder:"jinganGov"
	}
	//--------------------------------------------------
	//语言配置*******************************************
	//--------------------------------------------------
	ABTConfig.language = {
	    overSoundMode: { on: "关闭语音指读", off: "开启语音指读" },
		textMode:{on:"切换回可视化模式",off:"纯文本模式浏览"},
		pageZoom:{zoomIn:"页面放大",zoomOut:"页面缩小"},
		fontZoom:{zoomIn:"文字放大",zoomOut:"文字缩小"},
		hightContrast:{
			text:"高对比度",
			dColor:"还原对比度"
		},
		guides:{on:"关闭辅助线",off:"开启辅助线"},
		textTips:{
			text:"文字提示",
			pinyin:{on:"关闭拼音功能",off:"开启拼音功能"},
			textbg:{on:"关闭标记功能",off:"开启标记功能"},
			textName:{tagName1:"图片链接:",tagName2:"图片:",tagName3:"媒体:",tagName4:"下拉菜单",tagName5:"表单按钮:",tagName6:"图形按钮:",tagName7:"提交按钮:",tagName8:"重置按钮:",tagName9:"文件域:",tagName10:"密码域:",tagName11:"单选框:",tagName12:"复选框:",tagName13:"文本域:",tagName14:"链接:",tagName15:"标题:",tagName16:"文本:"}
		},
		help:{
			help1:"无障碍帮助",
			help2:"语音插件帮助"
		},
		resetToolbar:"重置",
		show:"关闭",
		toolbarMessage:{on:"无障碍辅助工具条已开启",off:"无障碍辅助工具条已关闭"}
	}
}